import scrapy


class TestSpider(scrapy.Spider):
    name = 'test'

    start_urls = ['http://localhost:11302/']

    def parse(self, response):        
        for href in response.css('.a'):
            yield {
                'text': href.css('::text').extract_first(),
                'author': href.xpath('@href').extract_first(),
            }
